
#ifndef ALGFLOAT_H
#define ALGFLOAT_H


#ifdef __cplusplus
extern "C" {
#endif

void AFScale(float scalar, float* v);

void AFSub ( float * v1, float * v2, float * res);

void AFAdd ( float * v1, float * v2, float * res);

float AFNorm(float* vector);

void AFUnit (float * v);

float AFDot(float * v1, float * v2 );

void AFCopy (float * v, float* cp);

void AFProj( float * ofVector, float * ontoVector, float  * res );

void AFReflect( float* ofVector, float* aroundVector, float* res ) ;

void AFMatXVec (float * mat, float * vec, float * res);

#ifdef __cplusplus
}
#endif

#endif
